package com.example.gybicycle.dao;


import com.example.gybicycle.common.sql.CrudDao;
import com.example.gybicycle.entity.SysRole;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysRoleDao extends CrudDao<SysRole>{

    public List<Integer> findMenus(String id);
    public int delMenus(String id);
    public int saveMenus(@Param("id") String id,@Param("menus") List<Integer> menus);

}
